package com.dykj.fireFighting.api.monitoringCenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 
 * @Author JacksonTu
 * @Date  2022-02-10 13:36:22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "")
@TableName("pg_region")
public class PgRegion extends Model<PgRegion> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	@TableField("create_time")
	private Date createTime;
	@TableField("create_by")
	private String createBy;
	@TableField("is_del")
	@TableLogic
	private Integer isDel;
	private String name;
	private String address;
	/**
	 * 评估指数
	 */
    @ApiModelProperty(value = "评估指数")
	private String pgzs;
	/**
	 * 风险等级
	 */
    @ApiModelProperty(value = "风险等级")
	private Integer fxdj;
	/**
	 * 区域坐标
	 */
    @ApiModelProperty(value = "区域坐标")
	private String qyzb;
	/**
	 * 1区域  2建筑
	 */
    @ApiModelProperty(value = "1区域  2建筑")
	private Integer type;
	/**
	 * 区域
	 */
    @ApiModelProperty(value = "区域")
	private String region;
	/**
	 * 区域/建筑类型
	 */
    @ApiModelProperty(value = "区域/建筑类型")
	@TableField("site_type")
	private String siteType;

	@ApiModelProperty(value = "监控中心id")
	@TableField("center_id")
	private String centerId;

	@ApiModelProperty(value = "分数")
	@TableField("score")
    private double score;

	@ApiModelProperty(value = "行政区域")
	@TableField("xzqy")
	private String xzqy;

}
